<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>压力测试工具Jmeter5学习 | MoneyLee’s Blog</title><meta name="author" content="李财"><meta name="copyright" content="李财"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="接⼝压测和常⽤压⼒测试⼯具对⽐简介：⽬前⽤的常⽤测试⼯具对⽐ LoadRunner  性能稳定，压测结果及细粒度⼤，可以⾃定义脚本进⾏压测，但是太过于重⼤，功能⽐较繁 多    Apache AB(单接⼝压测最⽅便)  模拟多线程并发请求,ab命令对发出负载的计算机要求很低，既不会占⽤很多CPU，也不会占 ⽤太多的内存，但却会给⽬标服务器造成巨⼤的负载, 简单DDOS攻击等    Webbench">
<meta property="og:type" content="article">
<meta property="og:title" content="压力测试工具Jmeter5学习">
<meta property="og:url" content="https://moneylee.gitee.io/blog/2020/08/16/%E5%8E%8B%E5%8A%9B%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7Jmeter5%E5%AD%A6%E4%B9%A0/index.html">
<meta property="og:site_name" content="MoneyLee’s Blog">
<meta property="og:description" content="接⼝压测和常⽤压⼒测试⼯具对⽐简介：⽬前⽤的常⽤测试⼯具对⽐ LoadRunner  性能稳定，压测结果及细粒度⼤，可以⾃定义脚本进⾏压测，但是太过于重⼤，功能⽐较繁 多    Apache AB(单接⼝压测最⽅便)  模拟多线程并发请求,ab命令对发出负载的计算机要求很低，既不会占⽤很多CPU，也不会占 ⽤太多的内存，但却会给⽬标服务器造成巨⼤的负载, 简单DDOS攻击等    Webbench">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg">
<meta property="article:published_time" content="2020-08-16T12:12:02.000Z">
<meta property="article:modified_time" content="2020-12-18T08:33:02.000Z">
<meta property="article:author" content="李财">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg"><link rel="shortcut icon" href="/blog/img/favicon.png"><link rel="canonical" href="https://moneylee.gitee.io/blog/2020/08/16/%E5%8E%8B%E5%8A%9B%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7Jmeter5%E5%AD%A6%E4%B9%A0/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/blog/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = { 
  root: '/blog/',
  algolia: undefined,
  localSearch: undefined,
  translate: undefined,
  noticeOutdate: undefined,
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  lightbox: 'fancybox',
  Snackbar: undefined,
  source: {
    jQuery: 'https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js',
    justifiedGallery: {
      js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
      css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
    },
    fancybox: {
      js: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js',
      css: 'https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css'
    }
  },
  isPhotoFigcaption: false,
  islazyload: false,
  isanchor: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
  title: '压力测试工具Jmeter5学习',
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isToc: true,
  postUpdate: '2020-12-18 16:33:02'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(win=>{
    win.saveToLocal = {
      set: function setWithExpiry(key, value, ttl) {
        if (ttl === 0) return
        const now = new Date()
        const expiryDay = ttl * 86400000
        const item = {
          value: value,
          expiry: now.getTime() + expiryDay,
        }
        localStorage.setItem(key, JSON.stringify(item))
      },

      get: function getWithExpiry(key) {
        const itemStr = localStorage.getItem(key)

        if (!itemStr) {
          return undefined
        }
        const item = JSON.parse(itemStr)
        const now = new Date()

        if (now.getTime() > item.expiry) {
          localStorage.removeItem(key)
          return undefined
        }
        return item.value
      }
    }
  
    win.getScript = url => new Promise((resolve, reject) => {
      const script = document.createElement('script')
      script.src = url
      script.async = true
      script.onerror = reject
      script.onload = script.onreadystatechange = function() {
        const loadState = this.readyState
        if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
        script.onload = script.onreadystatechange = null
        resolve()
      }
      document.head.appendChild(script)
    })
  
      win.activateDarkMode = function () {
        document.documentElement.setAttribute('data-theme', 'dark')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
        }
      }
      win.activateLightMode = function () {
        document.documentElement.setAttribute('data-theme', 'light')
        if (document.querySelector('meta[name="theme-color"]') !== null) {
          document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
        }
      }
      const t = saveToLocal.get('theme')
    
          if (t === 'dark') activateDarkMode()
          else if (t === 'light') activateLightMode()
        
      const asideStatus = saveToLocal.get('aside-status')
      if (asideStatus !== undefined) {
        if (asideStatus === 'hide') {
          document.documentElement.classList.add('hide-aside')
        } else {
          document.documentElement.classList.remove('hide-aside')
        }
      }
    
    const detectApple = () => {
      if (GLOBAL_CONFIG_SITE.isHome && /iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
        document.documentElement.classList.add('apple')
      }
    }
    detectApple()
    })(window)</script><meta name="generator" content="Hexo 5.4.0"><link rel="alternate" href="/blog/atom.xml" title="MoneyLee’s Blog" type="application/atom+xml">
</head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="https://i.loli.net/2019/11/10/SYvXMgCFuTNOVeZ.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="site-data"><div class="data-item is-center"><div class="data-item-link"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">47</div></a></div></div><div class="data-item is-center"><div class="data-item-link"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">9</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fa fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/blog/bbs/"><i class="fa-fw fa fa-coffee"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 影音</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/blog/music"><i class="fa-fw /music/"></i><span> 0</span></a></li><li><a class="site-page child" href="/blog/movies"><i class="fa-fw /movies/"></i><span> 1</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/blog/">MoneyLee’s Blog</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/blog/"><i class="fa-fw fa fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/blog/archives/"><i class="fa-fw fa fa-archive"></i><span> 时间轴</span></a></div><div class="menus_item"><a class="site-page" href="/blog/tags/"><i class="fa-fw fa fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/blog/categories/"><i class="fa-fw fa fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/blog/bbs/"><i class="fa-fw fa fa-coffee"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/blog/link/"><i class="fa-fw fa fa-link"></i><span> 友链</span></a></div><div class="menus_item"><a class="site-page" href="/blog/about/"><i class="fa-fw fa fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fa fa-list"></i><span> 影音</span><i class="fas fa-chevron-down expand"></i></a><ul class="menus_item_child"><li><a class="site-page child" href="/blog/music"><i class="fa-fw /music/"></i><span> 0</span></a></li><li><a class="site-page child" href="/blog/movies"><i class="fa-fw /movies/"></i><span> 1</span></a></li></ul></div></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">压力测试工具Jmeter5学习</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-08-16T12:12:02.000Z" title="发表于 2020-08-16 20:12:02">2020-08-16</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-12-18T08:33:02.000Z" title="更新于 2020-12-18 16:33:02">2020-12-18</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/blog/categories/Java/">Java</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-pv-cv" id="" data-flag-title="压力测试工具Jmeter5学习"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><h2 id="接⼝压测和常⽤压⼒测试⼯具对⽐"><a href="#接⼝压测和常⽤压⼒测试⼯具对⽐" class="headerlink" title="接⼝压测和常⽤压⼒测试⼯具对⽐"></a>接⼝压测和常⽤压⼒测试⼯具对⽐</h2><h3 id="简介：⽬前⽤的常⽤测试⼯具对⽐"><a href="#简介：⽬前⽤的常⽤测试⼯具对⽐" class="headerlink" title="简介：⽬前⽤的常⽤测试⼯具对⽐"></a>简介：⽬前⽤的常⽤测试⼯具对⽐</h3><ul>
<li><p>LoadRunner</p>
<ul>
<li><p>性能稳定，压测结果及细粒度⼤，可以⾃定义脚本进⾏压测，但是太过于重⼤，功能⽐较繁</p>
<p>多</p>
</li>
</ul>
</li>
<li><p>Apache AB(单接⼝压测最⽅便)</p>
<ul>
<li><p>模拟多线程并发请求,ab命令对发出负载的计算机要求很低，既不会占⽤很多CPU，也不会占</p>
<p>⽤太多的内存，但却会给⽬标服务器造成巨⼤的负载, 简单DDOS攻击等</p>
</li>
</ul>
</li>
<li><p>Webbench</p>
<ul>
<li><p>webbench⾸先fork出多个⼦进程，每个⼦进程都循环做web访问测试。⼦进程把访问的结果</p>
<p>通过pipe告诉⽗进程，⽗进程做最终的统计结果。</p>
</li>
</ul>
</li>
<li><p>Jmeter</p>
<ul>
<li><p>开源免费，功能强⼤，在互联⽹公司普遍使⽤</p>
</li>
<li><p>压测不同的协议和应⽤ 1) Web - HTTP, HTTPS (Java, NodeJS, PHP, ASP.NET, …) 2) SOAP / REST</p>
<p>Webservices 3) FTP 4) Database via JDBC 5) LDAP 轻量⽬录访问协议 6) Message-oriented</p>
<p>middleware (MOM) via JMS 7) Mail - SMTP(S), POP3(S) and IMAP(S) 8) TCP等等</p>
</li>
<li><p>使⽤场景及优点 1）功能测试 2）压⼒测试 3）分布式压⼒测试 4）纯java开发 5）上⼿容易，⾼性</p>
<p>能 4）提供测试数据分析 5）各种报表数据图形展示</p>
</li>
</ul>
</li>
</ul>
<h3 id="压测⼯具本地快速安装Jmeter5-x"><a href="#压测⼯具本地快速安装Jmeter5-x" class="headerlink" title="压测⼯具本地快速安装Jmeter5.x"></a>压测⼯具本地快速安装<strong>Jmeter5.x</strong></h3><h3 id="简介：GUI图形界⾯的安装-Jmeter5-x"><a href="#简介：GUI图形界⾯的安装-Jmeter5-x" class="headerlink" title="简介：GUI图形界⾯的安装 Jmeter5.x"></a>简介：<strong>GUI</strong>图形界⾯的安装 <strong>Jmeter5.x</strong></h3><ul>
<li>需要安装JDK8 以上<ul>
<li>建议安装JDK环境，虽然JRE也可以，但是压测https需要JDK⾥⾯的 keytool⼯具</li>
</ul>
</li>
<li>快速下载 <a target="_blank" rel="noopener" href="https://jmeter.apache.org/download_jmeter.cgi">https://jmeter.apache.org/download_jmeter.cgi</a></li>
<li>⽂档地址：<a target="_blank" rel="noopener" href="http://jmeter.apache.org/usermanual/get-started.html">http://jmeter.apache.org/usermanual/get-started.html</a></li>
</ul>
<h3 id="Jmeter5-x⽬录⽂件讲解和汉化操作"><a href="#Jmeter5-x⽬录⽂件讲解和汉化操作" class="headerlink" title="Jmeter5.x⽬录⽂件讲解和汉化操作"></a><strong>Jmeter5.x</strong>⽬录⽂件讲解和汉化操作</h3><ul>
<li>⽬录</li>
</ul>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br></pre></td><td class="code"><pre><span class="line">bin:核⼼可执⾏⽂件，包含配置</span><br><span class="line"> jmeter.bat: windows启动⽂件(window系统⼀定要配置显示⽂件拓展名)</span><br><span class="line"> jmeter: mac或者linux启动⽂件</span><br><span class="line"> jmeter-server：mac或者Liunx分布式压测使⽤的启动⽂件</span><br><span class="line"> jmeter-server.bat：window分布式压测使⽤的启动⽂件</span><br><span class="line"> jmeter.properties: 核⼼配置⽂件</span><br><span class="line">extras：插件拓展的包</span><br><span class="line">lib:核⼼的依赖包</span><br></pre></td></tr></table></figure>

<ul>
<li>Jmeter语⾔版本中英⽂切换<ul>
<li>控制台修改 menu -&gt; options -&gt; choose language</li>
</ul>
</li>
<li>配置⽂件修改<ul>
<li>bin⽬录 -&gt; jmeter.properties</li>
<li>默认 #language=en</li>
<li>改为 language=zh_CN</li>
</ul>
</li>
</ul>
<h3 id="Jmeter5-X基础功能组件介绍线程组和Sampler"><a href="#Jmeter5-X基础功能组件介绍线程组和Sampler" class="headerlink" title="Jmeter5.X基础功能组件介绍线程组和Sampler"></a><strong>Jmeter5.X</strong>基础功能组件介绍线程组和<strong>Sampler</strong></h3><h4 id="讲解Jmeter⾥⾯GUI菜单栏主要组件"><a href="#讲解Jmeter⾥⾯GUI菜单栏主要组件" class="headerlink" title="讲解Jmeter⾥⾯GUI菜单栏主要组件"></a>讲解<strong>Jmeter</strong>⾥⾯<strong>GUI</strong>菜单栏主要组件</h4><ul>
<li>添加-&gt;threads-&gt;线程组（控制总体并发）</li>
</ul>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br></pre></td><td class="code"><pre><span class="line">线程数：虚拟⽤户数。⼀个虚拟⽤户占⽤⼀个进程或线程</span><br><span class="line">准备时⻓（Ramp-Up Period(in seconds)）：全部线程启动的时⻓，⽐如100个线程，20秒，则</span><br><span class="line">表示20秒内 100个线程都要启动完成，每秒启动5个线程</span><br><span class="line">循环次数：每个线程发送的次数，假如值为5，100个线程，则会发送500次请求，可以勾选永远循环</span><br></pre></td></tr></table></figure>

<ul>
<li>线程组-&gt;添加-&gt; Sampler(采样器) -&gt; Http （⼀个线程组下⾯可以增加⼏个Sampler）</li>
</ul>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br></pre></td><td class="code"><pre><span class="line">名称：采样器名称</span><br><span class="line">注释：对这个采样器的描述</span><br><span class="line">web服务器：</span><br><span class="line">默认协议是http</span><br><span class="line">默认端⼝是80</span><br><span class="line">服务器名称或IP ：请求的⽬标服务器名称或IP地址</span><br><span class="line">路径：服务器URL</span><br></pre></td></tr></table></figure>

<ul>
<li>查看测试结果</li>
</ul>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">线程组-&gt;添加-&gt;监听器-&gt;察看结果树</span><br></pre></td></tr></table></figure>

<h3 id="Jmeter5-x实战之压测结果聚合报告分析"><a href="#Jmeter5-x实战之压测结果聚合报告分析" class="headerlink" title="Jmeter5.x实战之压测结果聚合报告分析"></a><strong>Jmeter5.x</strong>实战之压测结果聚合报告分析</h3><h4 id="简介：讲解压测结果的聚合报告"><a href="#简介：讲解压测结果的聚合报告" class="headerlink" title="简介：讲解压测结果的聚合报告"></a>简介：讲解压测结果的聚合报告</h4><ul>
<li>新增聚合报告：线程组-&gt;添加-&gt;监听器-&gt;聚合报告（Aggregate Report）</li>
</ul>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br></pre></td><td class="code"><pre><span class="line">lable: sampler的名称</span><br><span class="line">Samples: ⼀共发出去多少请求,例如10个⽤户，循环10次，则是 100</span><br><span class="line">Average: 平均响应时间</span><br><span class="line">Median: 中位数，也就是 50％ ⽤户的响应时间</span><br><span class="line">90% Line : 90％ ⽤户的响应不会超过该时间 （90% of the samples took no more than</span><br><span class="line">this time. The remaining samples at least as long as this）</span><br><span class="line">95% Line : 95％ ⽤户的响应不会超过该时间</span><br><span class="line">99% Line : 99％ ⽤户的响应不会超过该时间</span><br><span class="line">min : 最⼩响应时间</span><br><span class="line">max : 最⼤响应时间</span><br><span class="line">Error%：错误的请求的数量/请求的总数</span><br><span class="line">Throughput： 吞吐量——默认情况下表示每秒完成的请求数（Request per Second) 可类⽐为</span><br><span class="line">qps、tps</span><br><span class="line">KB/Sec: 每秒接收数据量</span><br></pre></td></tr></table></figure>

</article><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">李财</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://moneylee.gitee.io/blog/2020/08/16/%E5%8E%8B%E5%8A%9B%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7Jmeter5%E5%AD%A6%E4%B9%A0/">https://moneylee.gitee.io/blog/2020/08/16/%E5%8E%8B%E5%8A%9B%E6%B5%8B%E8%AF%95%E5%B7%A5%E5%85%B7Jmeter5%E5%AD%A6%E4%B9%A0/</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://moneylee.gitee.io/blog" target="_blank">MoneyLee’s Blog</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"></div><div class="post_share"><div class="social-share" data-image="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-left"><a href="/blog/2020/08/18/Docker%E9%83%A8%E7%BD%B2SpringBoot%E9%A1%B9%E7%9B%AE/"><img class="prev-cover" src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">Docker 部署 SpringBoot 项目</div></div></a></div><div class="next-post pull-right"><a href="/blog/2020/08/10/10%E5%88%86%E9%92%9F%E7%9C%8B%E6%87%82Docker%E5%92%8CK8S/"><img class="next-cover" src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg" onerror="onerror=null;src='/blog/img/404.jpg'" alt="cover of next post"><div class="pagination-info"><div class="label">下一篇</div><div class="next_info">10分钟看懂Docker和K8S (转载)</div></div></a></div></nav></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="is-center"><div class="avatar-img"><img src="https://i.loli.net/2019/11/10/SYvXMgCFuTNOVeZ.png" onerror="this.onerror=null;this.src='/blog/img/friend_404.gif'" alt="avatar"/></div><div class="author-info__name">李财</div><div class="author-info__description">嗨，我是李财 (MoneyLee)， 一名来自中国的 iOS开发者。</div></div><div class="card-info-data"><div class="card-info-data-item is-center"><a href="/blog/archives/"><div class="headline">文章</div><div class="length-num">47</div></a></div><div class="card-info-data-item is-center"><a href="/blog/categories/"><div class="headline">分类</div><div class="length-num">9</div></a></div></div><a class="button--animated" id="card-info-btn" target="_blank" rel="noopener" href="https://github.com/xxxxxx"><i class="fab fa-github"></i><span>Follow Me</span></a><div class="card-info-social-icons is-center"><a class="social-icon" href="https://github.com/licai28" target="_blank" title=""><i class="fa fa-github"></i></a><a class="social-icon" href="mailto:licai_1024@hotmail.com" target="_blank" title=""><i class="fa fa-envelope"></i></a><a class="social-icon" href="/blog/img/mywechat.jpg" target="_blank" title=""><i class="fa fa-weixin"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn card-announcement-animation"></i><span>公告</span></div><div class="announcement_content">This is my Blog</div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%8E%A5%E2%BC%9D%E5%8E%8B%E6%B5%8B%E5%92%8C%E5%B8%B8%E2%BD%A4%E5%8E%8B%E2%BC%92%E6%B5%8B%E8%AF%95%E2%BC%AF%E5%85%B7%E5%AF%B9%E2%BD%90"><span class="toc-number">1.</span> <span class="toc-text">接⼝压测和常⽤压⼒测试⼯具对⽐</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%AE%80%E4%BB%8B%EF%BC%9A%E2%BD%AC%E5%89%8D%E2%BD%A4%E7%9A%84%E5%B8%B8%E2%BD%A4%E6%B5%8B%E8%AF%95%E2%BC%AF%E5%85%B7%E5%AF%B9%E2%BD%90"><span class="toc-number">1.1.</span> <span class="toc-text">简介：⽬前⽤的常⽤测试⼯具对⽐</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E5%8E%8B%E6%B5%8B%E2%BC%AF%E5%85%B7%E6%9C%AC%E5%9C%B0%E5%BF%AB%E9%80%9F%E5%AE%89%E8%A3%85Jmeter5-x"><span class="toc-number">1.2.</span> <span class="toc-text">压测⼯具本地快速安装Jmeter5.x</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#%E7%AE%80%E4%BB%8B%EF%BC%9AGUI%E5%9B%BE%E5%BD%A2%E7%95%8C%E2%BE%AF%E7%9A%84%E5%AE%89%E8%A3%85-Jmeter5-x"><span class="toc-number">1.3.</span> <span class="toc-text">简介：GUI图形界⾯的安装 Jmeter5.x</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Jmeter5-x%E2%BD%AC%E5%BD%95%E2%BD%82%E4%BB%B6%E8%AE%B2%E8%A7%A3%E5%92%8C%E6%B1%89%E5%8C%96%E6%93%8D%E4%BD%9C"><span class="toc-number">1.4.</span> <span class="toc-text">Jmeter5.x⽬录⽂件讲解和汉化操作</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Jmeter5-X%E5%9F%BA%E7%A1%80%E5%8A%9F%E8%83%BD%E7%BB%84%E4%BB%B6%E4%BB%8B%E7%BB%8D%E7%BA%BF%E7%A8%8B%E7%BB%84%E5%92%8CSampler"><span class="toc-number">1.5.</span> <span class="toc-text">Jmeter5.X基础功能组件介绍线程组和Sampler</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E8%AE%B2%E8%A7%A3Jmeter%E2%BE%A5%E2%BE%AFGUI%E8%8F%9C%E5%8D%95%E6%A0%8F%E4%B8%BB%E8%A6%81%E7%BB%84%E4%BB%B6"><span class="toc-number">1.5.1.</span> <span class="toc-text">讲解Jmeter⾥⾯GUI菜单栏主要组件</span></a></li></ol></li><li class="toc-item toc-level-3"><a class="toc-link" href="#Jmeter5-x%E5%AE%9E%E6%88%98%E4%B9%8B%E5%8E%8B%E6%B5%8B%E7%BB%93%E6%9E%9C%E8%81%9A%E5%90%88%E6%8A%A5%E5%91%8A%E5%88%86%E6%9E%90"><span class="toc-number">1.6.</span> <span class="toc-text">Jmeter5.x实战之压测结果聚合报告分析</span></a><ol class="toc-child"><li class="toc-item toc-level-4"><a class="toc-link" href="#%E7%AE%80%E4%BB%8B%EF%BC%9A%E8%AE%B2%E8%A7%A3%E5%8E%8B%E6%B5%8B%E7%BB%93%E6%9E%9C%E7%9A%84%E8%81%9A%E5%90%88%E6%8A%A5%E5%91%8A"><span class="toc-number">1.6.1.</span> <span class="toc-text">简介：讲解压测结果的聚合报告</span></a></li></ol></li></ol></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/blog/2021/09/14/Flutter%20%E5%90%AF%E5%8A%A8%E9%A1%B5%E9%85%8D%E7%BD%AE/" title="无题"><img src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/img/default.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="无题"/></a><div class="content"><a class="title" href="/blog/2021/09/14/Flutter%20%E5%90%AF%E5%8A%A8%E9%A1%B5%E9%85%8D%E7%BD%AE/" title="无题">无题</a><time datetime="2021-09-14T03:05:25.000Z" title="发表于 2021-09-14 11:05:25">2021-09-14</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2020/08/21/iOS%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" title="iOS机器学习"><img src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl0019wlj31ej0u0x6q.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="iOS机器学习"/></a><div class="content"><a class="title" href="/blog/2020/08/21/iOS%E6%9C%BA%E5%99%A8%E5%AD%A6%E4%B9%A0/" title="iOS机器学习">iOS机器学习</a><time datetime="2020-08-21T02:04:10.000Z" title="发表于 2020-08-21 10:04:10">2020-08-21</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2020/08/20/Docker%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E6%95%B4%E7%90%86/" title="Docker 基础知识整理"><img src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl4zhjzuj30qy0e0gyz.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="Docker 基础知识整理"/></a><div class="content"><a class="title" href="/blog/2020/08/20/Docker%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86%E6%95%B4%E7%90%86/" title="Docker 基础知识整理">Docker 基础知识整理</a><time datetime="2020-08-20T12:12:02.000Z" title="发表于 2020-08-20 20:12:02">2020-08-20</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2020/08/19/Flutter/" title="Flutter"><img src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl0019wlj31ej0u0x6q.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="Flutter"/></a><div class="content"><a class="title" href="/blog/2020/08/19/Flutter/" title="Flutter">Flutter</a><time datetime="2020-08-19T02:04:03.000Z" title="发表于 2020-08-19 10:04:03">2020-08-19</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/blog/2020/08/19/iOS%20AR%E5%92%8CARKit4/" title="iOS AR和ARKit4"><img src="https://tva1.sinaimg.cn/large/006y8mN6ly1g8vl0019wlj31ej0u0x6q.jpg" onerror="this.onerror=null;this.src='/blog/img/404.jpg'" alt="iOS AR和ARKit4"/></a><div class="content"><a class="title" href="/blog/2020/08/19/iOS%20AR%E5%92%8CARKit4/" title="iOS AR和ARKit4">iOS AR和ARKit4</a><time datetime="2020-08-19T02:04:03.000Z" title="发表于 2020-08-19 10:04:03">2020-08-19</time></div></div></div></div></div></div></main><footer id="footer"><div id="footer-wrap"><div class="copyright">&copy;2020 - 2021 By 李财</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div></div></footer></div><div id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/blog/js/utils.js"></script><script src="/blog/js/main.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>